package com.shigu.mo.bo.requests;

import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.NotEmpty;

/**
 * 修改服务端密码
 */
public class SubmitNewPswRequest extends MoRequest{
    @NotEmpty(message = "请传入新密码")
    @Length(min = 6,message = "密码长度不能小于6位")
    private String newPsw;//新密码

    public String getNewPsw() {
        return newPsw;
    }

    public void setNewPsw(String newPsw) {
        this.newPsw = newPsw;
    }
}
